<div class="top">
	<div class="logo"><a href="<?= URL::base() ?>" title="На главную страницу"><img src="<?= URL::site('static/css/images/logo.png') ?>" alt="Logo" /></a></div>
	<div class="menu_cont">
		<? $i = 0; foreach ($menu as $key => $item): ?>
			<div class="top_menu_item_container">
				<? if (($c_url == $item->link) || ($c_url == '' && ($item->title == 'Главная'))): ?>
					<span <?= $item->link == 'javascript:void(0)' ? 'class="underline" onclick="show_submenu(this, '.$item->id.')"' : 'class="underline"' ?>><?= $item->title ?></span><?= ($item->link == 'javascript:void(0)') ? '<span style="color: #07c">&nbsp;&raquo;</span>' : '' ?>
				<? else: ?>
					<a href="<?= $item->link ?>" <?= $item->link == 'javascript:void(0)' ? 'class="underline" onclick="show_submenu(this, '.$item->id.')"' : 'class="underline"' ?>><?= $item->title ?></a><?= ($item->link == 'javascript:void(0)') ? '<span style="color: #07c">&nbsp;&raquo;</span>' : '' ?>
				<? endif ?>
			</div>
		<? endforeach ?>
	</div>
	<div class="languages">
		<? if ($lang == 'ru'): ?>
			<img src="<?= URL::site('static/css/images/ru.png') ?>" alt="ru" /><span>РУС</span>
			<img src="<?= URL::site('static/css/images/kz.png') ?>" alt="ru" /><a href="<?= URL::site('lang/kz') ?>">КАЗ</a>
			<img src="<?= URL::site('static/css/images/en.png') ?>" alt="ru" /><a href="<?= URL::site('lang/en') ?>">ENG</a>
		<? elseif ($lang == 'kz'): ?>
			<img src="<?= URL::site('static/css/images/ru.png') ?>" alt="ru" /><a href="<?= URL::site('lang/ru') ?>">РУС</a>
			<img src="<?= URL::site('static/css/images/kz.png') ?>" alt="ru" /><span>КАЗ</span>
			<img src="<?= URL::site('static/css/images/en.png') ?>" alt="ru" /><a href="<?= URL::site('lang/en') ?>">ENG</a>
		<? elseif ($lang == 'en'): ?>
			<img src="<?= URL::site('static/css/images/ru.png') ?>" alt="ru" /><a href="<?= URL::site('lang/ru') ?>">РУС</a>
			<img src="<?= URL::site('static/css/images/kz.png') ?>" alt="ru" /><a href="<?= URL::site('lang/kz') ?>">КАЗ</a>
			<img src="<?= URL::site('static/css/images/en.png') ?>" alt="ru" /><span>ENG</span>
		<? endif ?>
	</div>
</div>